package com.bjpowernode.query;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 *
 */
@Data
public class TCustomerRemarkQuery extends BaseQuery{
    /**
     * 客户ID
     */
    private Integer customerId;

    /**
     * 跟踪方式
     */
    @NotNull(message = "内容不能为空")
    private Integer noteWay;

    /**
     * 跟踪内容
     */
    @NotEmpty(message = "内容不能为空")
    @Size(min = 5, max = 255, message = "活动备注内容长度为 5 - 255个长度")
    private String noteContent;
}
